export const tableColumns = [
  {
    name: '指标名称',
    value: 'indexName',
    align: 'center'
  },
  {
    name: '计算日期',
    value: 'calculateDate',
    align: 'center'
  },
  {
    name: '计算频率',
    value: 'calculateFreqDes',
    align: 'center',
    formatter(row) {
      switch (row.calculateFreq) {
        case '1':
          row.calculateFreqDes = '年度'
          break
        case '2':
          row.calculateFreqDes = '季度'
          break
        case '3':
          row.calculateFreqDes = '月度'
          break
        case '4':
          row.calculateFreqDes = '周'
          break
        case '5':
          row.calculateFreqDes = '日'
          break
      }
      return row.calculateFreqDes
    }
  },
  {
    name: '指标ID',
    value: 'indexId',
    align: 'center'
  },
  {
    name: '指标值',
    value: 'indexValue',
    align: 'center'
  },
  {
    name: '公司',
    value: 'cmhkId',
    align: 'center'
  }
]
export const computeOption = [
  { label: '年度', code: '1' },
  { label: '季度', code: '2' },
  { label: '月度', code: '3' },
  { label: '周', code: '4' },
  { label: '日', code: '5' }
]
